﻿"use strict";

function Config($routeProvider, $httpProvider) {
    $routeProvider.when("/", {
        templateUrl: "/AppViews/Index.html"
    })
    .when("/Details/:id", {
        templateUrl: "Views/Home/Details.cshtml"
    })
    .otherwise({
        redirectTo: "/"
    })
};

Config.$inject = ["$routeProvider", "$httpProvider"];